#ifndef _PROBABILITYEVENT_H_
#define _PROBABILITYEVENT_H_
class ProbabilityEvent
{
public:
    explicit ProbabilityEvent(const float occurProbability);
    float operator !() const;
    float operator &(const ProbabilityEvent&) const;
    float operator |(const ProbabilityEvent&) const;

private:
    float occurProbability;
};
#endif
